//
//  LYScreenBar.h
//  artist
//
//  Created by Jay_Apple on 16/4/12.
//  Copyright © 2016年 viviyoo. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum : NSUInteger {
    SceenTypeSub = 1,  //科目
    SceenTypeEva,      //评价
    SceenTypeDistance, //距离
} SceenType;

typedef void(^screenBarBlock)(SceenType type);

@interface LYScreenBar : UIView

@property (nonatomic, copy) NSString *subTitle;
@property (nonatomic, copy) NSString *nearByTitle;
@property (nonatomic, copy) NSString *sortTitle;  


@property (nonatomic, copy) screenBarBlock block;

@property (nonatomic, assign) LYOrderType orderType;
@property (nonatomic, assign) LYLocalOrderType order;

@property (nonatomic, assign) NSInteger area_id;

- (void)backToNormal;

@end
